package com.example.laboratory.common;

/**
 * Api接口地址
 */
public class UrlConstainer {
    public static final String baseUrl = "http://192.168.0.171:9001/";

    //public static final String baseUrl = "https://www.wanandroid.com/";
    /**
     * 登录
     */
    public static final String LOGIN = "user/login";
    /**
     * 注册
     */
    public static final String ADDUSER = "user";


    public static final String GETDEPARTINFO = "depart";
    /**
     * 根据用户id获取巡检记录
     */
    public static final String  GETRECORDLIST = "xjrecord/mine/{uid}";
    /**
     * 条件查询获取实验室列表
     */
    public static final String GETLABORATORYLIST = "laboratory/search/{page}/{size}";

    /**
     * 获取巡检结果集
     */

    public static final String GETRESULTBYXJID = "/xjresult/QueryById/{xjid}";
    public static final String  GETITEMSBYLABID="laboratory/getItems/{labid}";

    /**
     * 根据belong查询items
     */
    public static final String GETITEMS= "item/queryByBelong/{belong}";



    public static final String ADDRESULTLIST="xjresult/addlist";
    public static final String ADDRECORD="xjrecord/";



    public static final String GETALLLABS = "laboratory";
    public static final String ADDLABS = "laboratory";
    /**
     * 根据depart和permission获取用户列表
     */
    public static final String GETUSERDEPARTID = "user/getUserList/{departId}/{permission}";




}
